package org.example.factory;

import org.example.exception.BeansException;

/**
 * @Author: luyg
 * @Date: 2024/09/05/23:33
 * @Description:
 */
public interface BeanFactory {
    Object getBean(String name) throws BeansException;

    Object getBean(String name, Object... args) throws BeansException;

    <T> T getBean(String name, Class<T> requiredType) throws BeansException;
}
